﻿#region Header
//************************************************************************************
// Name: FacadeFactory
// Description: FacadeFactory class
// Created On:  27-Dec-2011
// Created By:  Swathi
// Last Modified On:
// Last Modified By: 
// Last Modified Reason: 
//*************************************************************************************
#endregion Header
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Chinook.Facade;
using Chinook.Facade.Factory;
using Chinook.Facade.Ioc;
using Chinook.Core.DaoInterface;
using Base.Common;
namespace Chinook.Facade.Factory
{
    public class FacadeFactory : IFacadeFactory
    {
        private readonly FacadeExposer _facadeExposer = new FacadeExposer();

        #region IFacadeFactory Members
        public IEmployeeAppService GetEmployeeAppService
        {
            get
            {
                return _facadeExposer.EmployeeAppService;
            }
        }

        public IProfilerService GetProfilerService
        {
            get
            {
                return _facadeExposer.ProfilerService;
            }
        }

        //IProfilerService GetProfilerService

        public IEmployeeDao GetEmployeeDao
        {
            get
            {
                return _facadeExposer.EmployeeDao;
            }
        }

        /// <summary>
        /// Method used to get DMS App Service
        /// </summary>
        public IDMSAppService GetDMSAppService
        {
            get
            {
                return _facadeExposer.DMSAppService;
            }
        }

        /// <summary>
        /// Method used to get DMS Dao
        /// </summary>
        public IDmsDao GetDMSDao
        {
            get
            {
                return _facadeExposer.DMSDao;
            }
        }
        #endregion
    }
}
